package com.acme;

public class TextModifier {

	public static void main(String[] args) {
		if(args.length != 1)
			System.out.println("You entered not one string");
		else {
			for (int i = 0; i < args[0].length (); i++) {
				char c = args[0].charAt(i);
				if (Character.isDigit(c))
					continue;
				if (c == '+' || c == '-')
					System.out.print("" + c + c);
				else
					System.out.print(c);
			}
				
		}
	}

}
